package com.guo.core;

import com.guo.proxy.ProxyFactory;
import com.guo.rpc.test.service.HelloService;
import com.guo.rpc.test.service.HelloServiceImpl;

/**
 * @Auther: hotlove_linx
 * @Date: 2021/7/18 17:57
 * @Description:
 */
public class ClientBootStrap  {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        HelloService helloService = (HelloService) proxyFactory.getProxy(HelloService.class, HelloServiceImpl.class);
        String result = helloService.getHelloStr("test");
        System.out.println(result);
    }
}
